using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;

namespace fenk.Ventas.CtasCtes
{
    public partial class InfoFact1 : mvLibrary.BaseForm
    {
        public InfoFact1()
        {
            InitializeComponent();
        }

        protected override void OnCancelItem()
        {
            this.cboReportType.SelectedIndex = 0;
            this.UniItem.Replace(2,string.Empty);
        }

        private void cboReportType_SelectedIndexChanged(object sender, EventArgs e)
        {
            this.ReportType = (ReportFileFormat)Enum.Parse(typeof(ReportFileFormat), this.cboReportType.Text);
            this.UniItem.Replace(2, this.ReportType.ToString());
        }
    }
}

